package org.dromara.germbank.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Mapper;
import org.dromara.common.mybatis.core.mapper.BaseMapperPlus;
import org.dromara.germbank.domain.BusOperationsAdvertisement;
import org.dromara.germbank.domain.BusResearchSurveys;
import org.dromara.germbank.domain.vo.BusOperationsAdvertisementVo;
import org.dromara.germbank.domain.vo.BusResearchSurveysVo;

/**
 * 调研 数据层
 *
 * @author congxing
 */
@Mapper
public interface BusResearchSurveysMapper extends BaseMapperPlus<BusResearchSurveys, BusResearchSurveysVo> {

    /**
     * 分页查询调研列表，并进行数据权限控制
     *
     * @param page         分页参数
     * @param queryWrapper 查询条件
     * @return 分页的用户信息
     */
    default Page<BusResearchSurveysVo> queryPageList(Page<BusResearchSurveys> page, Wrapper<BusResearchSurveys> queryWrapper){
        return this.selectVoPage(page, queryWrapper);
    }
}
